package com.sanshow.charging.db;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;

import java.util.Date;

@Entity(
        nameInDb = "fb_charging_delay"
)
public class ChargingDelay {

    @Id(autoincrement = true)
    @Property(nameInDb = "id")
    private Long id;

    // 仓门号
    @Property(nameInDb = "item_code")
    private String itemCode;

    // 电池编号
    @Property(nameInDb = "info_code")
    private String infoCode;

    @Property(nameInDb = "update_time")
    private Date updateTime;

    // 0、关门无电池（读到00000000）；1、开门有电池（能读到卡号）
    @Property(nameInDb = "item_flag")
    private int itemFlag;

@Generated(hash = 1424267068)
public ChargingDelay(Long id, String itemCode, String infoCode, Date updateTime,
        int itemFlag) {
    this.id = id;
    this.itemCode = itemCode;
    this.infoCode = infoCode;
    this.updateTime = updateTime;
    this.itemFlag = itemFlag;
}

@Generated(hash = 1981590326)
public ChargingDelay() {
}

public Long getId() {
    return this.id;
}

public void setId(Long id) {
    this.id = id;
}

public String getItemCode() {
    return this.itemCode;
}

public void setItemCode(String itemCode) {
    this.itemCode = itemCode;
}

public String getInfoCode() {
    return this.infoCode;
}

public void setInfoCode(String infoCode) {
    this.infoCode = infoCode;
}

public Date getUpdateTime() {
    return this.updateTime;
}

public void setUpdateTime(Date updateTime) {
    this.updateTime = updateTime;
}

public int getItemFlag() {
    return this.itemFlag;
}

public void setItemFlag(int itemFlag) {
    this.itemFlag = itemFlag;
}



}
